package com.haiheng.library_base.db

import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey

/**
 *
 * @Des:报警表
 * @Author: hwz
 * @Date:2023/8/1 0001
 * @Version: 1.0
 */
@Entity(tableName = "alarmed_book_table", indices = [Index(value = ["sinfo1"], unique = true)])
data class AlarmedBooksTable(
    var addUser: String? = null,
    var createdTime: String = "",
    var deviceUid: String? = null,
    var editUser: String? = null,
    @PrimaryKey(autoGenerate = true)
    var id: Int = 0,
    var infoMainType: String = "",
    var infoSubType: String? = null,
    var ninfo1: Double = 0.0,
    var ninfo2: Double = 0.0,
    var ninfo3: Double = 0.0,
    var ninfo4: Double = 0.0,
    var ninfo5: Double = 0.0,
    var ninfo6: Double = 0.0,
    var ninfo7: Double = 0.0,
    var ninfo8: Double = 0.0,
    var orgCode: String = "",
    var orgLocation: String = "",
    var remark: String? = null,
    var sinfo1: String = "",
    var sinfo10: String? = null,
    var sinfo2: String = "",
    var sinfo3: String = "",
    var sinfo4: String? = null,
    var sinfo5: String? = null,
    var sinfo6: String? = null,
    var sinfo7: String? = null,
    var sinfo8: String? = null,
    var sinfo9: String? = null,
    var tinfo1: String = "",
    var tinfo2: String = "",
    var tinfo3: String = "",
    var tinfo4: String = "",
    var tinfo5: String = "",
    var typeName: String = ""
)
